package com.wangzhixuan.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wangzhixuan.model.PeopleWork;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;


/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-08-25
 */
public interface PeopleWorkMapper extends BaseMapper<PeopleWork> {

	List<PeopleWork> selectPeopleWorkPage(Pagination page, Map<String, Object> params);
	
	List<Integer> selectUser(@Param("wordId") Integer wordId);
	
	List<Integer> selectGroupUser(@Param("userId")Integer userId);

}